package com.margo.project.web.mvcconfig.argumentresolver;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.core.annotation.AliasFor;

@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ParamJsonContent {
	
	/**
	 * Alias for {@link #name}.
	 */
	@AliasFor("name")
	String value() default "";
	
	@AliasFor("value")
	String name() default "";
	
	Class<?> type() default Object.class;
	
}
